package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantUsepart;
import com.beamfield.modelVo.UsepartVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantUsepartMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantUsepart record);

    int insertSelective(SteelplantUsepart record);

    SteelplantUsepart selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantUsepart record);

    int updateByPrimaryKey(SteelplantUsepart record);

    List<SteelplantUsepart> selectPage(@Param("typeId") String typeId, @Param("offset") String offset, @Param("limit") String limit);

    Long countPage(String typeId);

    List<UsepartVO> selectByBeamId(Long beamId);
}
